package item.inkcloud.shopservice.feignClient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.HashMap;

@Component
@FeignClient("user-service")
public interface UserServiceFeignClient {

    @RequestMapping("/user/userinfo")
    HashMap getUserInfo(@RequestParam("userid") String userid);


}